package dao.impl.sz;

import dao.PrinterDao;
import entity.sz.Printer;
import org.springframework.stereotype.Repository;

/**
 * @author 胡小超
 * 2024/12/5 上午11:31
 */
/*实战5 使用java注解*/
@Repository("GrayPrinter")
public class GrayPrinterImpl implements PrinterDao {
    //灰色墨盒
    @Override
    public void print(Printer printer) {
        System.out.println(printer.getType()+"墨盒打印中...,纸张大小是:"+printer.getSize());
    }
}
